# @Time  :2021/5/27 21:45
# @Author: Houtaroy
from enum import IntEnum


class NameEnum(IntEnum):
    def __new__(cls, value, name):
        obj = int.__new__(cls)
        obj._value_ = value
        obj._name_ = name
        obj.label = name
        return obj
